Local Master Key Variants

Variants of the Local Master Key in the HSM are used for encryption of defined keys or key components. These variants are calculated as follows:

1.        Select the appropriate LMK pair, for example:

0123 4567 89AB CDEF 3131 3131 3131 3131.

2.        Identify which Variant of the LMK is required and select the appropriate offset value:

Variant 2: 5A.

3.        Exclusive-OR add the selected offset to the first byte of the LMK pair (01 in the example above).

4.        Replace the left-most byte of the LMK pair with the result of Step 3 and use the resulting key as the specified Variant:

Variant 2 = 5B23 4567 89AB CDEF 3131 3131 3131 3131.

The variants are:

Variant 1 : A6

Variant 2 : 5A

Variant 3 : 6A

Variant 4 : DE

Variant 5 : 2B

Variant 6 : 50

Variant 7 : 74

Variant 8 : 9C

Variant 9 : FA


When the Variants are applied to the standard test LMK set, the left-most bytes of the sets are as follows:

 

LMK Pair

First byte of LMK

1

2

3

4

5

6

7

 

8

00-01

A7

5B

6B

DF

2A

51

75

9D

FB

02-03

86

7A

4A

FE

0B

70

54

BC

DA

04-05

E6

1A

2A

9E

6B

10

34

DC

BA

06-07

C7

3B

0B

BF

4A

31

15

FD

9B

08-09

26

DA

EA

5E

AB

D0

F4

1C

7A

10-11

07

FB

CB

7F

8A

F1

D5

3D

5B

12-13

67

9B

AB

1F

EA

91

B5

5D

3B

14-15

46

BA

8A

3E

CB

B0

94

7C

1A

16-17

BA

46

76

C2

37

4C

68

80

E6

18-19

A7

5B

6B

DF

2A

51

75

9D

FB

20-21

A4

58

68

DC

29

52

76

9E

F8

22-23

A1

5D

6D

D9

2C

57

73

9B

FD

24-25

B5

49

79

CD

38

43

67

8F

E9

26-27

B0

4C

7C

C8

3D

46

62

8A

EC

28-29

BC

40

70

C4

31

4A

6E

86

E0

30-31

85

79

49

FD

08

73

57

BF

D9

32-33

80

7C

4C

F8

0D

76

52

BA

DC

34-35

8C

70

40

F4

01

7A

5E

B6

D0

36-37

89

75

45

F1

04

7F

5B

B3

D5

38-39

A7

5B

6B

DF

2A

51

75

9D

FB